package com.example.bookstore.dao

import com.example.bookstore.entity.BookEntity
import com.example.bookstore.entity.CartDetailEntity
import com.example.bookstore.entity.CartEntity

/**
 * Created by IntelliJ IDEA.
 * User: lvshe
 * Date: 2019/8/10
 * Time: 15:08
 */
interface CartDetailDao : BaseDao<CartDetailEntity> {

    fun findByBookAndCart(book: BookEntity, cart: CartEntity): CartDetailEntity?

}